package org.davidtrevien.com.imput.omi.panels.center.planning.model;

public class TTask {

	int id;
	
	TOs tos;
	
	String numberTCR;
	
	String level;
	
	String label;
	
	String deliveryRequieredDate;
	
	String deliveryEffectiveDate;
	
	float budget;
	
	float finalCost;
	
	float raf;
	
	float consomated;
	
	float plan;
	
	float days[];
	
	public TTask(int id, TOs tos) {
		this.id = id;
		this.tos = tos;
		this.days = new float[365];
	}
	
	public int getMonthNbDays() {
		return 365;
	}
	
	public TOs getTos() {
		return this.tos;
	}

	public void setTos(TOs tos) {
		this.tos = tos;
	}

	public String getNumberTCR() {
		return this.numberTCR;
	}

	public void setNumberTCR(String numberTCR) {
		this.numberTCR = numberTCR;
	}

	public String getLevel() {
		return this.level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getLabel() {
		return this.label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getDeliveryRequieredDate() {
		return this.deliveryRequieredDate;
	}

	public void setDeliveryRequieredDate(String deliveryRequieredDate) {
		this.deliveryRequieredDate = deliveryRequieredDate;
	}

	public String getDeliveryEffectiveDate() {
		return this.deliveryEffectiveDate;
	}

	public void setDeliveryEffectiveDate(String deliveryEffectiveDate) {
		this.deliveryEffectiveDate = deliveryEffectiveDate;
	}

	public float getBudget() {
		return this.budget;
	}

	public void setBudget(float budget) {
		this.budget = budget;
	}

	public float getFinalCost() {
		return this.finalCost;
	}

	public void setFinalCost(float finalCost) {
		this.finalCost = finalCost;
	}

	public float getRaf() {
		return this.raf;
	}

	public void setRaf(float raf) {
		this.raf = raf;
	}

	public float getConsomated() {
		return this.consomated;
	}

	public void setConsomated(float consomated) {
		this.consomated = consomated;
	}

	public float getPlan() {
		return this.plan;
	}

	public void setPlan(float plan) {
		this.plan = plan;
	}

	public float getDay(int dayNum) {
		return this.days[dayNum];
	}

	public void setDay(int dayNum, float day) {
		this.days[dayNum] = day;
	}

	public int getId() {
		return this.id;
	}

}
